#ifndef CZENVERTEX_H
#define CZENVERTEX_H

#define ZENVERTEX_TYPE (D3DFVF_XYZ|D3DFVF_NORMAL|D3DFVF_DIFFUSE|D3DFVF_SPECULAR|D3DFVF_TEX1)

#include "ZenEngine.h"

class CZenVertex
{
public:
	CZenVertex();
	CZenVertex(float  x, float  y, float  z, float nx, float ny, float nz,
			   D3DCOLOR DiffuseColor, D3DCOLOR SpecularColor, float tu, float tv);

	~CZenVertex();

	void Set(float  x, float  y, float  z,
			 float nx, float ny, float nz,
			 D3DCOLOR DiffuseColor,
			 D3DCOLOR SpecularColor,
			 float tu, float tv);

	D3DVECTOR m_Position;
	D3DVECTOR m_Normal;
	D3DCOLOR  m_DiffuseColor;
	D3DCOLOR  m_SpecularColor;
	float	  m_tu;
	float     m_tv;	
};

#endif
